package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/** 聊天列表
 * @email: pengyujun53@163.com
 * @author: peng_YuJun
 * @date: 2023/3/26
 * @time: 21:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VoChatMsg {
    private Integer id;
    private Long friId; //好友的id
    private Integer notRead;
    private String name;
    private String avatar;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
    private String entName;
    private String userCode;
}